package org.jeecg.modules.engine.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.engine.entity.Requirement;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 需求表
 * @Author: jeecg-boot
 * @Date:   2020-07-20
 * @Version: V1.0
 */
public interface IRequirementService extends IService<Requirement> {

	List<Requirement> selectByMainId(String mainId);
	Integer saveRequirement(Requirement requirement);
	Integer updateRequirment(Requirement requirement);
	Integer deleteRequirmentById(String id);
	Result deleteBatchRequirement(List<String> idList);
	Integer generateRequisitions(String mainId);
}
